package com.zimmur.dao.account;

import org.apache.ibatis.annotations.Param;

import com.zimmur.model.account.StockChannel;

public interface IStockChannelDao {

	/**
	 *  通过主键渠道ID和批次ID,查询相关信息
	 * @param channelId
	 * @param stockId
	 * @return
	 */
	public StockChannel selectByPrimaryKey(@Param("channelId")Integer channelId,@Param("couponStockId")Integer stockId);
	/**
	 * 通过主键，更新发送数量
	 * @param stockChannel
	 * @return
	 */
	public int updateByPrimaryKey(StockChannel stockChannel);
}
